﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Namespace roncliProductions.LibWowArmory.Character

    ''' <summary>
    ''' A class containing information about a character's title.
    ''' </summary>
    ''' <remarks></remarks>
    Public Class Title

        ''' <summary>
        ''' The ID number of the title.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property ID As Integer

        ''' <summary>
        ''' The tokenized name of the title.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks>Replace %s with the character's name.</remarks>
        Public Property Name As String

        ''' <summary>
        ''' Indicates whether this is the character's chosen title.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Selected As Boolean

        Protected Friend Sub New(intID As Integer, strName As String, blnSelected As Boolean)
            ID = intID
            Name = strName
            Selected = blnSelected
        End Sub

    End Class

End Namespace
